﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _4_NovaAdmin.Web.Core.Option
{
    [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
    public class ConfigSectionAttribute : Attribute
    {
        /// <summary>
        /// 对应Json中的配置节名称
        /// </summary>
        public string SectionName { get; }

        public ConfigSectionAttribute(string sectionName)
        {
            SectionName = sectionName;
        }
    }
}
